package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import java.lang.Float;
import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * ETbBankAccount is a Querydsl bean type
 */
@Label("账户信息表")
public class ETbBankAccount extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13153426664361L;    
    @Label("账户名称")
    @Size(max=100)
    private String accountName;

    @NotNull
    @Label("baseCompanyId")
    @Size(max=24)
    private String baseCompanyId;

    @Label("备注")
    @Size(max=100)
    private String commont;

    @Label("删除标记")
    @Size(max=8)
    private String flag;

    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    @Size(max=45)
    private String id;

    @Label("金额")
    private Float money;

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getBaseCompanyId() {
        return baseCompanyId;
    }

    public void setBaseCompanyId(String baseCompanyId) {
        this.baseCompanyId = baseCompanyId;
    }

    public String getCommont() {
        return commont;
    }

    public void setCommont(String commont) {
        this.commont = commont;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public String toString() {
         return String.format("ETbBankAccount { accountName : %s,baseCompanyId : %s,commont : %s,flag : %s,id : %s,money : %s }",accountName,baseCompanyId,commont,flag,id,money);
    }

}

